// 导入二次封装axios
import koi from "@/utils/axios.ts";


export const listPage = (params: any) => koi.get("/admin/pms/goods-attr-tpl/list", params);

// 根据ID进行查询
export const read = (id: any) => koi.get("/admin/pms/goods-attr-tpl/read", { id });

// 根据ID进行修改
export const update = (data: any) => koi.post("/admin/pms/goods-attr-tpl/update", data);

// 添加
export const add = (data: any) => koi.post("/admin/pms/goods-attr-tpl/add", data);

export const getAttrAll = () => koi.post("/admin/pms/goods-attr-tpl/getAttrAll");
